package com.ytjj.qmyx.admin.mapper;

import com.ytjj.qmyx.admin.model.ProductAndCategory;
import com.ytjj.qmyx.admin.model.ProductAndCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductAndCategoryMapper {
    long countByExample(ProductAndCategoryExample example);

    int deleteByExample(ProductAndCategoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProductAndCategory record);

    int insertSelective(ProductAndCategory record);

    List<ProductAndCategory> selectByExample(ProductAndCategoryExample example);

    ProductAndCategory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProductAndCategory record, @Param("example") ProductAndCategoryExample example);

    int updateByExample(@Param("record") ProductAndCategory record, @Param("example") ProductAndCategoryExample example);

    int updateByPrimaryKeySelective(ProductAndCategory record);

    int updateByPrimaryKey(ProductAndCategory record);
}